package 反射;

public class Dog{
    private   int id;
    private   double  weight;
    private  String name;
    public   Dog(){

    }
    private Dog(String name){
        this.name=name;
    }

    public Dog(int id, double weight, String name) {
        this.id = id;
        this.weight = weight;
        this.name = name;
    }
}
